import request from '@/utils/request'

export default {

  //1.分页讲师查询
  getTeacherList(page, size) {
    return request({
      url: `/teacher/front/get/teacher/page/${page}/${size}`,
      method: 'post'
    })
  },

  //2.查询讲师的详情
  getTeacherInfo(id){
    return request({
      url: `/teacher/front/get/teacher/info/${id}`,
      method: 'get'
    })
  }


}
